package com.hqyj.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int id;
    private String username;
    private String password;
    private String phone;
    private String email;
    private Date birthday;
    private String headimg;
    private List<Role> roles;
    private List<Order> orders;
}
